package com.example.demo.mapper;

import com.example.demo.model.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-03-07
 * Time: 11:07
 */

@Mapper
public interface AddressMapper {
    //地址信息列表，并将数据库查询结果通过
    //<resultMap>标签映射到实体类（Address）上

    //1.查询 address表中的所有数据
    List<Address> selectAll();



    //修改供应商为赵亮
    int updateName(Address address);


}
